﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RealtorsPortal.Entities
{
    public class AdvertisementsDAO
    {
        private int advId;
        private int categoryId;
        private int userId;
        private int districtId;
        private int parkageId;
        private string title;
        private string type;
        private string imageUrl;
        private string price;
        private string postedDate;
        private string expDate;
        private float landArea;
        private int floor;
        private int bedroom;
        private int bathroom;
        private int builtYear;
        private string address;
        private string description;
        private string amenities;
        private bool isFeatured;
        private bool isActive;

        public int AdvId {
            set { advId = value; }
            get { return advId; }
        }

        public int CategoryId
        {
            set { categoryId = value; }
            get { return categoryId; }
        }

        public int UserId
        {
            set { userId = value; }
            get { return userId; }
        }

        public int DistrictId
        {
            set { districtId = value; }
            get { return districtId; }
        }

        public int ParkageId
        {
            set { parkageId = value; }
            get { return parkageId; }
        }

        public string Title
        {
            set { title = value; }
            get { return title; }
        }

        public string Type
        {
            set { type = value; }
            get { return type; }
        }

        public string ImageUrl
        {
            set { imageUrl = value; }
            get { return imageUrl; }
        }

        public string Price
        {
            set { price = value; }
            get { return price; }
        }

        public string PostedDate
        {
            set { postedDate = value; }
            get { return postedDate; }
        }

        public string ExpDate
        {
            set { expDate = value; }
            get { return expDate; }
        }

        public float LandArea
        {
            set { landArea = value; }
            get { return landArea; }
        }


        public int Floor
        {
            set { floor = value; }
            get { return floor; }
        }

        public int Bedroom
        {
            set { bedroom = value; }
            get { return bedroom; }
        }

        public int Bathroom
        {
            set { bathroom = value; }
            get { return bathroom; }
        }

        public int BuiltYear
        {
            set { builtYear = value; }
            get { return builtYear; }
        }

        public string Address
        {
            set { address = value; }
            get { return address; }
        }

        public string Description
        {
            set { description = value; }
            get { return description; }
        }

        public string Amenities
        {
            set { amenities = value; }
            get { return amenities; }
        }

        public bool IsFeatured
        {
            set { isFeatured = value; }
            get { return isFeatured; }
        }
        
        public bool IsActive
        {
            set { isActive = value; }
            get { return isActive; }
        }
    }
}